package com.example.demo.common.exception;

import lombok.Getter;

/**
 * @author: Bin.L
 * @date: 2021/11/11 0011 17:14
 * @Description:
 */
public enum ErrorCodeEnum {

    SERVICE_ERROR("Service-3", "SERVICE_ERROR");

    ErrorCodeEnum(String code, String message) {

        this.code = code;
        this.message = message;
    }

    @Getter
    private String code;

    @Getter
    private String message;
}
